<script>on mouseUpAnswer "Temporarily install WindowsMenu? It will remain"&&¬"in operation until you quit HyperCard…" with "Yes" or "No"if it is "Yes" thenstart using this stacksend openstack to this stackend ifend mouseUp</script>
<text><span class="style2">indowsMenu</span><span class="style1"> will add a </span><span class="style3">Windows</span><span class="style1"> menu to your HyperCard MenuBar. It came about because I wanted to be able to start a time consuming script and be able to switch out of HyperCard while running System 7. On a toaster Mac, the only way to do this is to click on the desktop once the script has started.The </span><span class="style3">Windows</span><span class="style1"> menu will enable you to shrink your windows to a predetermined size, and it will allow you to switch between all open stacks. You can use the zoom box on the window to return it to its previous size. If you don't like the size I have it shrink to, open the stack script and change the values of the rectangle defined in the </span><span class="style4">ShrinkIt</span><span class="style1"> handler.</span><span class="style2">WindowsMenu</span><span class="style1"> is a stack specifically meant to be placed inside the "Start Using" list of stacks who's scripts are accessible to all stacks within the message heirarchy. Clicking the "Click me to Install" button will add a line to your Home stack's stack script to include </span><span class="style2">WindowsMenu</span><span class="style1">. If your Home stack's stack script has been modified, it may be possible that the installation will fail. If this is the case, then simply add the line </span><span class="style4">Start Using "WindowsMenu"</span><span class="style1"> inside the Startup handler of your Home stack script. The line must be inserted after the </span><span class="style4">GetHomeInfo</span><span class="style1"> has been called.</span><span class="style2">WindowsMenu</span><span class="style1"> depends on stacks passing </span><span class="style4">OpenStack</span><span class="style1">, </span><span class="style4">CloseStack</span><span class="style1">, </span><span class="style4">ResumeStack</span><span class="style1">, and </span><span class="style4">SuspendStack</span><span class="style1"> messages on up the message heirarchy. I trapped </span><span class="style4">CloseStack</span><span class="style1"> and </span><span class="style4">SuspendStack</span><span class="style1"> to remove the </span><span class="style2">WindowsMenu</span><span class="style1">. That way the </span><span class="style2">WindowsMenu</span><span class="style1"> will attempt be the rightmost menu, which seems to be the conventional Mac user interface standard. Of course, I have no control over other people's scripting so this might not always be the case.</span><span class="style2">WindowsMenu</span><span class="style1"> is postcardware, but I retain the copyrights to the software. There is no charge, but if you like the software, please send me a postcard and let me know. In the spirit of fair play in HyperTalk scripting, this stack is not protected in any way.Paul Lemieux905 Union StreetCary, NC 27511GEnie: P.Lemieux2AOL: PaulLXAppleSeeds BBSThe Raleigh Macintosh Users Group919-481-4896Over 700 Mb of Online Files(I am the Sysop)</span></text>
</content>
<name></name>
<script>on openCardset the scroll of bkgnd field "help" to 0end openCard</script>